package P1;

public class TestDevice {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.open();
        computer.uesUsbDevice(new Mouse());
        computer.uesUsbDevice(new KeyBoard());
        computer.close();
    }
}
